package com.cc.model;

import java.util.ArrayList;
import java.util.Date;
import java.util.List;

public class PlanTemplateTaskExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    public PlanTemplateTaskExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andIdIsNull() {
            addCriterion("id is null");
            return (Criteria) this;
        }

        public Criteria andIdIsNotNull() {
            addCriterion("id is not null");
            return (Criteria) this;
        }

        public Criteria andIdEqualTo(Integer value) {
            addCriterion("id =", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotEqualTo(Integer value) {
            addCriterion("id <>", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThan(Integer value) {
            addCriterion("id >", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("id >=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThan(Integer value) {
            addCriterion("id <", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThanOrEqualTo(Integer value) {
            addCriterion("id <=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdIn(List<Integer> values) {
            addCriterion("id in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotIn(List<Integer> values) {
            addCriterion("id not in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdBetween(Integer value1, Integer value2) {
            addCriterion("id between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotBetween(Integer value1, Integer value2) {
            addCriterion("id not between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andTemplateIdIsNull() {
            addCriterion("template_id is null");
            return (Criteria) this;
        }

        public Criteria andTemplateIdIsNotNull() {
            addCriterion("template_id is not null");
            return (Criteria) this;
        }

        public Criteria andTemplateIdEqualTo(Integer value) {
            addCriterion("template_id =", value, "templateId");
            return (Criteria) this;
        }

        public Criteria andTemplateIdNotEqualTo(Integer value) {
            addCriterion("template_id <>", value, "templateId");
            return (Criteria) this;
        }

        public Criteria andTemplateIdGreaterThan(Integer value) {
            addCriterion("template_id >", value, "templateId");
            return (Criteria) this;
        }

        public Criteria andTemplateIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("template_id >=", value, "templateId");
            return (Criteria) this;
        }

        public Criteria andTemplateIdLessThan(Integer value) {
            addCriterion("template_id <", value, "templateId");
            return (Criteria) this;
        }

        public Criteria andTemplateIdLessThanOrEqualTo(Integer value) {
            addCriterion("template_id <=", value, "templateId");
            return (Criteria) this;
        }

        public Criteria andTemplateIdIn(List<Integer> values) {
            addCriterion("template_id in", values, "templateId");
            return (Criteria) this;
        }

        public Criteria andTemplateIdNotIn(List<Integer> values) {
            addCriterion("template_id not in", values, "templateId");
            return (Criteria) this;
        }

        public Criteria andTemplateIdBetween(Integer value1, Integer value2) {
            addCriterion("template_id between", value1, value2, "templateId");
            return (Criteria) this;
        }

        public Criteria andTemplateIdNotBetween(Integer value1, Integer value2) {
            addCriterion("template_id not between", value1, value2, "templateId");
            return (Criteria) this;
        }

        public Criteria andStepIdIsNull() {
            addCriterion("step_id is null");
            return (Criteria) this;
        }

        public Criteria andStepIdIsNotNull() {
            addCriterion("step_id is not null");
            return (Criteria) this;
        }

        public Criteria andStepIdEqualTo(Integer value) {
            addCriterion("step_id =", value, "stepId");
            return (Criteria) this;
        }

        public Criteria andStepIdNotEqualTo(Integer value) {
            addCriterion("step_id <>", value, "stepId");
            return (Criteria) this;
        }

        public Criteria andStepIdGreaterThan(Integer value) {
            addCriterion("step_id >", value, "stepId");
            return (Criteria) this;
        }

        public Criteria andStepIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("step_id >=", value, "stepId");
            return (Criteria) this;
        }

        public Criteria andStepIdLessThan(Integer value) {
            addCriterion("step_id <", value, "stepId");
            return (Criteria) this;
        }

        public Criteria andStepIdLessThanOrEqualTo(Integer value) {
            addCriterion("step_id <=", value, "stepId");
            return (Criteria) this;
        }

        public Criteria andStepIdIn(List<Integer> values) {
            addCriterion("step_id in", values, "stepId");
            return (Criteria) this;
        }

        public Criteria andStepIdNotIn(List<Integer> values) {
            addCriterion("step_id not in", values, "stepId");
            return (Criteria) this;
        }

        public Criteria andStepIdBetween(Integer value1, Integer value2) {
            addCriterion("step_id between", value1, value2, "stepId");
            return (Criteria) this;
        }

        public Criteria andStepIdNotBetween(Integer value1, Integer value2) {
            addCriterion("step_id not between", value1, value2, "stepId");
            return (Criteria) this;
        }

        public Criteria andSceneIdIsNull() {
            addCriterion("scene_id is null");
            return (Criteria) this;
        }

        public Criteria andSceneIdIsNotNull() {
            addCriterion("scene_id is not null");
            return (Criteria) this;
        }

        public Criteria andSceneIdEqualTo(Integer value) {
            addCriterion("scene_id =", value, "sceneId");
            return (Criteria) this;
        }

        public Criteria andSceneIdNotEqualTo(Integer value) {
            addCriterion("scene_id <>", value, "sceneId");
            return (Criteria) this;
        }

        public Criteria andSceneIdGreaterThan(Integer value) {
            addCriterion("scene_id >", value, "sceneId");
            return (Criteria) this;
        }

        public Criteria andSceneIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("scene_id >=", value, "sceneId");
            return (Criteria) this;
        }

        public Criteria andSceneIdLessThan(Integer value) {
            addCriterion("scene_id <", value, "sceneId");
            return (Criteria) this;
        }

        public Criteria andSceneIdLessThanOrEqualTo(Integer value) {
            addCriterion("scene_id <=", value, "sceneId");
            return (Criteria) this;
        }

        public Criteria andSceneIdIn(List<Integer> values) {
            addCriterion("scene_id in", values, "sceneId");
            return (Criteria) this;
        }

        public Criteria andSceneIdNotIn(List<Integer> values) {
            addCriterion("scene_id not in", values, "sceneId");
            return (Criteria) this;
        }

        public Criteria andSceneIdBetween(Integer value1, Integer value2) {
            addCriterion("scene_id between", value1, value2, "sceneId");
            return (Criteria) this;
        }

        public Criteria andSceneIdNotBetween(Integer value1, Integer value2) {
            addCriterion("scene_id not between", value1, value2, "sceneId");
            return (Criteria) this;
        }

        public Criteria andTaskNameIsNull() {
            addCriterion("task_name is null");
            return (Criteria) this;
        }

        public Criteria andTaskNameIsNotNull() {
            addCriterion("task_name is not null");
            return (Criteria) this;
        }

        public Criteria andTaskNameEqualTo(String value) {
            addCriterion("task_name =", value, "taskName");
            return (Criteria) this;
        }

        public Criteria andTaskNameNotEqualTo(String value) {
            addCriterion("task_name <>", value, "taskName");
            return (Criteria) this;
        }

        public Criteria andTaskNameGreaterThan(String value) {
            addCriterion("task_name >", value, "taskName");
            return (Criteria) this;
        }

        public Criteria andTaskNameGreaterThanOrEqualTo(String value) {
            addCriterion("task_name >=", value, "taskName");
            return (Criteria) this;
        }

        public Criteria andTaskNameLessThan(String value) {
            addCriterion("task_name <", value, "taskName");
            return (Criteria) this;
        }

        public Criteria andTaskNameLessThanOrEqualTo(String value) {
            addCriterion("task_name <=", value, "taskName");
            return (Criteria) this;
        }

        public Criteria andTaskNameLike(String value) {
            addCriterion("task_name like", value, "taskName");
            return (Criteria) this;
        }

        public Criteria andTaskNameNotLike(String value) {
            addCriterion("task_name not like", value, "taskName");
            return (Criteria) this;
        }

        public Criteria andTaskNameIn(List<String> values) {
            addCriterion("task_name in", values, "taskName");
            return (Criteria) this;
        }

        public Criteria andTaskNameNotIn(List<String> values) {
            addCriterion("task_name not in", values, "taskName");
            return (Criteria) this;
        }

        public Criteria andTaskNameBetween(String value1, String value2) {
            addCriterion("task_name between", value1, value2, "taskName");
            return (Criteria) this;
        }

        public Criteria andTaskNameNotBetween(String value1, String value2) {
            addCriterion("task_name not between", value1, value2, "taskName");
            return (Criteria) this;
        }

        public Criteria andResponsibleDeptIsNull() {
            addCriterion("responsible_dept is null");
            return (Criteria) this;
        }

        public Criteria andResponsibleDeptIsNotNull() {
            addCriterion("responsible_dept is not null");
            return (Criteria) this;
        }

        public Criteria andResponsibleDeptEqualTo(String value) {
            addCriterion("responsible_dept =", value, "responsibleDept");
            return (Criteria) this;
        }

        public Criteria andResponsibleDeptNotEqualTo(String value) {
            addCriterion("responsible_dept <>", value, "responsibleDept");
            return (Criteria) this;
        }

        public Criteria andResponsibleDeptGreaterThan(String value) {
            addCriterion("responsible_dept >", value, "responsibleDept");
            return (Criteria) this;
        }

        public Criteria andResponsibleDeptGreaterThanOrEqualTo(String value) {
            addCriterion("responsible_dept >=", value, "responsibleDept");
            return (Criteria) this;
        }

        public Criteria andResponsibleDeptLessThan(String value) {
            addCriterion("responsible_dept <", value, "responsibleDept");
            return (Criteria) this;
        }

        public Criteria andResponsibleDeptLessThanOrEqualTo(String value) {
            addCriterion("responsible_dept <=", value, "responsibleDept");
            return (Criteria) this;
        }

        public Criteria andResponsibleDeptLike(String value) {
            addCriterion("responsible_dept like", value, "responsibleDept");
            return (Criteria) this;
        }

        public Criteria andResponsibleDeptNotLike(String value) {
            addCriterion("responsible_dept not like", value, "responsibleDept");
            return (Criteria) this;
        }

        public Criteria andResponsibleDeptIn(List<String> values) {
            addCriterion("responsible_dept in", values, "responsibleDept");
            return (Criteria) this;
        }

        public Criteria andResponsibleDeptNotIn(List<String> values) {
            addCriterion("responsible_dept not in", values, "responsibleDept");
            return (Criteria) this;
        }

        public Criteria andResponsibleDeptBetween(String value1, String value2) {
            addCriterion("responsible_dept between", value1, value2, "responsibleDept");
            return (Criteria) this;
        }

        public Criteria andResponsibleDeptNotBetween(String value1, String value2) {
            addCriterion("responsible_dept not between", value1, value2, "responsibleDept");
            return (Criteria) this;
        }

        public Criteria andReceiveDeptIsNull() {
            addCriterion("receive_dept is null");
            return (Criteria) this;
        }

        public Criteria andReceiveDeptIsNotNull() {
            addCriterion("receive_dept is not null");
            return (Criteria) this;
        }

        public Criteria andReceiveDeptEqualTo(String value) {
            addCriterion("receive_dept =", value, "receiveDept");
            return (Criteria) this;
        }

        public Criteria andReceiveDeptNotEqualTo(String value) {
            addCriterion("receive_dept <>", value, "receiveDept");
            return (Criteria) this;
        }

        public Criteria andReceiveDeptGreaterThan(String value) {
            addCriterion("receive_dept >", value, "receiveDept");
            return (Criteria) this;
        }

        public Criteria andReceiveDeptGreaterThanOrEqualTo(String value) {
            addCriterion("receive_dept >=", value, "receiveDept");
            return (Criteria) this;
        }

        public Criteria andReceiveDeptLessThan(String value) {
            addCriterion("receive_dept <", value, "receiveDept");
            return (Criteria) this;
        }

        public Criteria andReceiveDeptLessThanOrEqualTo(String value) {
            addCriterion("receive_dept <=", value, "receiveDept");
            return (Criteria) this;
        }

        public Criteria andReceiveDeptLike(String value) {
            addCriterion("receive_dept like", value, "receiveDept");
            return (Criteria) this;
        }

        public Criteria andReceiveDeptNotLike(String value) {
            addCriterion("receive_dept not like", value, "receiveDept");
            return (Criteria) this;
        }

        public Criteria andReceiveDeptIn(List<String> values) {
            addCriterion("receive_dept in", values, "receiveDept");
            return (Criteria) this;
        }

        public Criteria andReceiveDeptNotIn(List<String> values) {
            addCriterion("receive_dept not in", values, "receiveDept");
            return (Criteria) this;
        }

        public Criteria andReceiveDeptBetween(String value1, String value2) {
            addCriterion("receive_dept between", value1, value2, "receiveDept");
            return (Criteria) this;
        }

        public Criteria andReceiveDeptNotBetween(String value1, String value2) {
            addCriterion("receive_dept not between", value1, value2, "receiveDept");
            return (Criteria) this;
        }

        public Criteria andReportPostCodeIsNull() {
            addCriterion("report_post_code is null");
            return (Criteria) this;
        }

        public Criteria andReportPostCodeIsNotNull() {
            addCriterion("report_post_code is not null");
            return (Criteria) this;
        }

        public Criteria andReportPostCodeEqualTo(String value) {
            addCriterion("report_post_code =", value, "reportPostCode");
            return (Criteria) this;
        }

        public Criteria andReportPostCodeNotEqualTo(String value) {
            addCriterion("report_post_code <>", value, "reportPostCode");
            return (Criteria) this;
        }

        public Criteria andReportPostCodeGreaterThan(String value) {
            addCriterion("report_post_code >", value, "reportPostCode");
            return (Criteria) this;
        }

        public Criteria andReportPostCodeGreaterThanOrEqualTo(String value) {
            addCriterion("report_post_code >=", value, "reportPostCode");
            return (Criteria) this;
        }

        public Criteria andReportPostCodeLessThan(String value) {
            addCriterion("report_post_code <", value, "reportPostCode");
            return (Criteria) this;
        }

        public Criteria andReportPostCodeLessThanOrEqualTo(String value) {
            addCriterion("report_post_code <=", value, "reportPostCode");
            return (Criteria) this;
        }

        public Criteria andReportPostCodeLike(String value) {
            addCriterion("report_post_code like", value, "reportPostCode");
            return (Criteria) this;
        }

        public Criteria andReportPostCodeNotLike(String value) {
            addCriterion("report_post_code not like", value, "reportPostCode");
            return (Criteria) this;
        }

        public Criteria andReportPostCodeIn(List<String> values) {
            addCriterion("report_post_code in", values, "reportPostCode");
            return (Criteria) this;
        }

        public Criteria andReportPostCodeNotIn(List<String> values) {
            addCriterion("report_post_code not in", values, "reportPostCode");
            return (Criteria) this;
        }

        public Criteria andReportPostCodeBetween(String value1, String value2) {
            addCriterion("report_post_code between", value1, value2, "reportPostCode");
            return (Criteria) this;
        }

        public Criteria andReportPostCodeNotBetween(String value1, String value2) {
            addCriterion("report_post_code not between", value1, value2, "reportPostCode");
            return (Criteria) this;
        }

        public Criteria andReportPostNameIsNull() {
            addCriterion("report_post_name is null");
            return (Criteria) this;
        }

        public Criteria andReportPostNameIsNotNull() {
            addCriterion("report_post_name is not null");
            return (Criteria) this;
        }

        public Criteria andReportPostNameEqualTo(String value) {
            addCriterion("report_post_name =", value, "reportPostName");
            return (Criteria) this;
        }

        public Criteria andReportPostNameNotEqualTo(String value) {
            addCriterion("report_post_name <>", value, "reportPostName");
            return (Criteria) this;
        }

        public Criteria andReportPostNameGreaterThan(String value) {
            addCriterion("report_post_name >", value, "reportPostName");
            return (Criteria) this;
        }

        public Criteria andReportPostNameGreaterThanOrEqualTo(String value) {
            addCriterion("report_post_name >=", value, "reportPostName");
            return (Criteria) this;
        }

        public Criteria andReportPostNameLessThan(String value) {
            addCriterion("report_post_name <", value, "reportPostName");
            return (Criteria) this;
        }

        public Criteria andReportPostNameLessThanOrEqualTo(String value) {
            addCriterion("report_post_name <=", value, "reportPostName");
            return (Criteria) this;
        }

        public Criteria andReportPostNameLike(String value) {
            addCriterion("report_post_name like", value, "reportPostName");
            return (Criteria) this;
        }

        public Criteria andReportPostNameNotLike(String value) {
            addCriterion("report_post_name not like", value, "reportPostName");
            return (Criteria) this;
        }

        public Criteria andReportPostNameIn(List<String> values) {
            addCriterion("report_post_name in", values, "reportPostName");
            return (Criteria) this;
        }

        public Criteria andReportPostNameNotIn(List<String> values) {
            addCriterion("report_post_name not in", values, "reportPostName");
            return (Criteria) this;
        }

        public Criteria andReportPostNameBetween(String value1, String value2) {
            addCriterion("report_post_name between", value1, value2, "reportPostName");
            return (Criteria) this;
        }

        public Criteria andReportPostNameNotBetween(String value1, String value2) {
            addCriterion("report_post_name not between", value1, value2, "reportPostName");
            return (Criteria) this;
        }

        public Criteria andEvaluatePostCodeIsNull() {
            addCriterion("evaluate_post_code is null");
            return (Criteria) this;
        }

        public Criteria andEvaluatePostCodeIsNotNull() {
            addCriterion("evaluate_post_code is not null");
            return (Criteria) this;
        }

        public Criteria andEvaluatePostCodeEqualTo(String value) {
            addCriterion("evaluate_post_code =", value, "evaluatePostCode");
            return (Criteria) this;
        }

        public Criteria andEvaluatePostCodeNotEqualTo(String value) {
            addCriterion("evaluate_post_code <>", value, "evaluatePostCode");
            return (Criteria) this;
        }

        public Criteria andEvaluatePostCodeGreaterThan(String value) {
            addCriterion("evaluate_post_code >", value, "evaluatePostCode");
            return (Criteria) this;
        }

        public Criteria andEvaluatePostCodeGreaterThanOrEqualTo(String value) {
            addCriterion("evaluate_post_code >=", value, "evaluatePostCode");
            return (Criteria) this;
        }

        public Criteria andEvaluatePostCodeLessThan(String value) {
            addCriterion("evaluate_post_code <", value, "evaluatePostCode");
            return (Criteria) this;
        }

        public Criteria andEvaluatePostCodeLessThanOrEqualTo(String value) {
            addCriterion("evaluate_post_code <=", value, "evaluatePostCode");
            return (Criteria) this;
        }

        public Criteria andEvaluatePostCodeLike(String value) {
            addCriterion("evaluate_post_code like", value, "evaluatePostCode");
            return (Criteria) this;
        }

        public Criteria andEvaluatePostCodeNotLike(String value) {
            addCriterion("evaluate_post_code not like", value, "evaluatePostCode");
            return (Criteria) this;
        }

        public Criteria andEvaluatePostCodeIn(List<String> values) {
            addCriterion("evaluate_post_code in", values, "evaluatePostCode");
            return (Criteria) this;
        }

        public Criteria andEvaluatePostCodeNotIn(List<String> values) {
            addCriterion("evaluate_post_code not in", values, "evaluatePostCode");
            return (Criteria) this;
        }

        public Criteria andEvaluatePostCodeBetween(String value1, String value2) {
            addCriterion("evaluate_post_code between", value1, value2, "evaluatePostCode");
            return (Criteria) this;
        }

        public Criteria andEvaluatePostCodeNotBetween(String value1, String value2) {
            addCriterion("evaluate_post_code not between", value1, value2, "evaluatePostCode");
            return (Criteria) this;
        }

        public Criteria andEvaluatePostNameIsNull() {
            addCriterion("evaluate_post_name is null");
            return (Criteria) this;
        }

        public Criteria andEvaluatePostNameIsNotNull() {
            addCriterion("evaluate_post_name is not null");
            return (Criteria) this;
        }

        public Criteria andEvaluatePostNameEqualTo(String value) {
            addCriterion("evaluate_post_name =", value, "evaluatePostName");
            return (Criteria) this;
        }

        public Criteria andEvaluatePostNameNotEqualTo(String value) {
            addCriterion("evaluate_post_name <>", value, "evaluatePostName");
            return (Criteria) this;
        }

        public Criteria andEvaluatePostNameGreaterThan(String value) {
            addCriterion("evaluate_post_name >", value, "evaluatePostName");
            return (Criteria) this;
        }

        public Criteria andEvaluatePostNameGreaterThanOrEqualTo(String value) {
            addCriterion("evaluate_post_name >=", value, "evaluatePostName");
            return (Criteria) this;
        }

        public Criteria andEvaluatePostNameLessThan(String value) {
            addCriterion("evaluate_post_name <", value, "evaluatePostName");
            return (Criteria) this;
        }

        public Criteria andEvaluatePostNameLessThanOrEqualTo(String value) {
            addCriterion("evaluate_post_name <=", value, "evaluatePostName");
            return (Criteria) this;
        }

        public Criteria andEvaluatePostNameLike(String value) {
            addCriterion("evaluate_post_name like", value, "evaluatePostName");
            return (Criteria) this;
        }

        public Criteria andEvaluatePostNameNotLike(String value) {
            addCriterion("evaluate_post_name not like", value, "evaluatePostName");
            return (Criteria) this;
        }

        public Criteria andEvaluatePostNameIn(List<String> values) {
            addCriterion("evaluate_post_name in", values, "evaluatePostName");
            return (Criteria) this;
        }

        public Criteria andEvaluatePostNameNotIn(List<String> values) {
            addCriterion("evaluate_post_name not in", values, "evaluatePostName");
            return (Criteria) this;
        }

        public Criteria andEvaluatePostNameBetween(String value1, String value2) {
            addCriterion("evaluate_post_name between", value1, value2, "evaluatePostName");
            return (Criteria) this;
        }

        public Criteria andEvaluatePostNameNotBetween(String value1, String value2) {
            addCriterion("evaluate_post_name not between", value1, value2, "evaluatePostName");
            return (Criteria) this;
        }

        public Criteria andUploadIsNull() {
            addCriterion("upload is null");
            return (Criteria) this;
        }

        public Criteria andUploadIsNotNull() {
            addCriterion("upload is not null");
            return (Criteria) this;
        }

        public Criteria andUploadEqualTo(Integer value) {
            addCriterion("upload =", value, "upload");
            return (Criteria) this;
        }

        public Criteria andUploadNotEqualTo(Integer value) {
            addCriterion("upload <>", value, "upload");
            return (Criteria) this;
        }

        public Criteria andUploadGreaterThan(Integer value) {
            addCriterion("upload >", value, "upload");
            return (Criteria) this;
        }

        public Criteria andUploadGreaterThanOrEqualTo(Integer value) {
            addCriterion("upload >=", value, "upload");
            return (Criteria) this;
        }

        public Criteria andUploadLessThan(Integer value) {
            addCriterion("upload <", value, "upload");
            return (Criteria) this;
        }

        public Criteria andUploadLessThanOrEqualTo(Integer value) {
            addCriterion("upload <=", value, "upload");
            return (Criteria) this;
        }

        public Criteria andUploadIn(List<Integer> values) {
            addCriterion("upload in", values, "upload");
            return (Criteria) this;
        }

        public Criteria andUploadNotIn(List<Integer> values) {
            addCriterion("upload not in", values, "upload");
            return (Criteria) this;
        }

        public Criteria andUploadBetween(Integer value1, Integer value2) {
            addCriterion("upload between", value1, value2, "upload");
            return (Criteria) this;
        }

        public Criteria andUploadNotBetween(Integer value1, Integer value2) {
            addCriterion("upload not between", value1, value2, "upload");
            return (Criteria) this;
        }

        public Criteria andIscheckIsNull() {
            addCriterion("ischeck is null");
            return (Criteria) this;
        }

        public Criteria andIscheckIsNotNull() {
            addCriterion("ischeck is not null");
            return (Criteria) this;
        }

        public Criteria andIscheckEqualTo(Integer value) {
            addCriterion("ischeck =", value, "ischeck");
            return (Criteria) this;
        }

        public Criteria andIscheckNotEqualTo(Integer value) {
            addCriterion("ischeck <>", value, "ischeck");
            return (Criteria) this;
        }

        public Criteria andIscheckGreaterThan(Integer value) {
            addCriterion("ischeck >", value, "ischeck");
            return (Criteria) this;
        }

        public Criteria andIscheckGreaterThanOrEqualTo(Integer value) {
            addCriterion("ischeck >=", value, "ischeck");
            return (Criteria) this;
        }

        public Criteria andIscheckLessThan(Integer value) {
            addCriterion("ischeck <", value, "ischeck");
            return (Criteria) this;
        }

        public Criteria andIscheckLessThanOrEqualTo(Integer value) {
            addCriterion("ischeck <=", value, "ischeck");
            return (Criteria) this;
        }

        public Criteria andIscheckIn(List<Integer> values) {
            addCriterion("ischeck in", values, "ischeck");
            return (Criteria) this;
        }

        public Criteria andIscheckNotIn(List<Integer> values) {
            addCriterion("ischeck not in", values, "ischeck");
            return (Criteria) this;
        }

        public Criteria andIscheckBetween(Integer value1, Integer value2) {
            addCriterion("ischeck between", value1, value2, "ischeck");
            return (Criteria) this;
        }

        public Criteria andIscheckNotBetween(Integer value1, Integer value2) {
            addCriterion("ischeck not between", value1, value2, "ischeck");
            return (Criteria) this;
        }

        public Criteria andKeyTimeTypeIsNull() {
            addCriterion("key_time_type is null");
            return (Criteria) this;
        }

        public Criteria andKeyTimeTypeIsNotNull() {
            addCriterion("key_time_type is not null");
            return (Criteria) this;
        }

        public Criteria andKeyTimeTypeEqualTo(Integer value) {
            addCriterion("key_time_type =", value, "keyTimeType");
            return (Criteria) this;
        }

        public Criteria andKeyTimeTypeNotEqualTo(Integer value) {
            addCriterion("key_time_type <>", value, "keyTimeType");
            return (Criteria) this;
        }

        public Criteria andKeyTimeTypeGreaterThan(Integer value) {
            addCriterion("key_time_type >", value, "keyTimeType");
            return (Criteria) this;
        }

        public Criteria andKeyTimeTypeGreaterThanOrEqualTo(Integer value) {
            addCriterion("key_time_type >=", value, "keyTimeType");
            return (Criteria) this;
        }

        public Criteria andKeyTimeTypeLessThan(Integer value) {
            addCriterion("key_time_type <", value, "keyTimeType");
            return (Criteria) this;
        }

        public Criteria andKeyTimeTypeLessThanOrEqualTo(Integer value) {
            addCriterion("key_time_type <=", value, "keyTimeType");
            return (Criteria) this;
        }

        public Criteria andKeyTimeTypeIn(List<Integer> values) {
            addCriterion("key_time_type in", values, "keyTimeType");
            return (Criteria) this;
        }

        public Criteria andKeyTimeTypeNotIn(List<Integer> values) {
            addCriterion("key_time_type not in", values, "keyTimeType");
            return (Criteria) this;
        }

        public Criteria andKeyTimeTypeBetween(Integer value1, Integer value2) {
            addCriterion("key_time_type between", value1, value2, "keyTimeType");
            return (Criteria) this;
        }

        public Criteria andKeyTimeTypeNotBetween(Integer value1, Integer value2) {
            addCriterion("key_time_type not between", value1, value2, "keyTimeType");
            return (Criteria) this;
        }

        public Criteria andOrientationIsNull() {
            addCriterion("orientation is null");
            return (Criteria) this;
        }

        public Criteria andOrientationIsNotNull() {
            addCriterion("orientation is not null");
            return (Criteria) this;
        }

        public Criteria andOrientationEqualTo(Integer value) {
            addCriterion("orientation =", value, "orientation");
            return (Criteria) this;
        }

        public Criteria andOrientationNotEqualTo(Integer value) {
            addCriterion("orientation <>", value, "orientation");
            return (Criteria) this;
        }

        public Criteria andOrientationGreaterThan(Integer value) {
            addCriterion("orientation >", value, "orientation");
            return (Criteria) this;
        }

        public Criteria andOrientationGreaterThanOrEqualTo(Integer value) {
            addCriterion("orientation >=", value, "orientation");
            return (Criteria) this;
        }

        public Criteria andOrientationLessThan(Integer value) {
            addCriterion("orientation <", value, "orientation");
            return (Criteria) this;
        }

        public Criteria andOrientationLessThanOrEqualTo(Integer value) {
            addCriterion("orientation <=", value, "orientation");
            return (Criteria) this;
        }

        public Criteria andOrientationIn(List<Integer> values) {
            addCriterion("orientation in", values, "orientation");
            return (Criteria) this;
        }

        public Criteria andOrientationNotIn(List<Integer> values) {
            addCriterion("orientation not in", values, "orientation");
            return (Criteria) this;
        }

        public Criteria andOrientationBetween(Integer value1, Integer value2) {
            addCriterion("orientation between", value1, value2, "orientation");
            return (Criteria) this;
        }

        public Criteria andOrientationNotBetween(Integer value1, Integer value2) {
            addCriterion("orientation not between", value1, value2, "orientation");
            return (Criteria) this;
        }

        public Criteria andDayNumIsNull() {
            addCriterion("day_num is null");
            return (Criteria) this;
        }

        public Criteria andDayNumIsNotNull() {
            addCriterion("day_num is not null");
            return (Criteria) this;
        }

        public Criteria andDayNumEqualTo(Integer value) {
            addCriterion("day_num =", value, "dayNum");
            return (Criteria) this;
        }

        public Criteria andDayNumNotEqualTo(Integer value) {
            addCriterion("day_num <>", value, "dayNum");
            return (Criteria) this;
        }

        public Criteria andDayNumGreaterThan(Integer value) {
            addCriterion("day_num >", value, "dayNum");
            return (Criteria) this;
        }

        public Criteria andDayNumGreaterThanOrEqualTo(Integer value) {
            addCriterion("day_num >=", value, "dayNum");
            return (Criteria) this;
        }

        public Criteria andDayNumLessThan(Integer value) {
            addCriterion("day_num <", value, "dayNum");
            return (Criteria) this;
        }

        public Criteria andDayNumLessThanOrEqualTo(Integer value) {
            addCriterion("day_num <=", value, "dayNum");
            return (Criteria) this;
        }

        public Criteria andDayNumIn(List<Integer> values) {
            addCriterion("day_num in", values, "dayNum");
            return (Criteria) this;
        }

        public Criteria andDayNumNotIn(List<Integer> values) {
            addCriterion("day_num not in", values, "dayNum");
            return (Criteria) this;
        }

        public Criteria andDayNumBetween(Integer value1, Integer value2) {
            addCriterion("day_num between", value1, value2, "dayNum");
            return (Criteria) this;
        }

        public Criteria andDayNumNotBetween(Integer value1, Integer value2) {
            addCriterion("day_num not between", value1, value2, "dayNum");
            return (Criteria) this;
        }

        public Criteria andPeriodIsNull() {
            addCriterion("period is null");
            return (Criteria) this;
        }

        public Criteria andPeriodIsNotNull() {
            addCriterion("period is not null");
            return (Criteria) this;
        }

        public Criteria andPeriodEqualTo(Integer value) {
            addCriterion("period =", value, "period");
            return (Criteria) this;
        }

        public Criteria andPeriodNotEqualTo(Integer value) {
            addCriterion("period <>", value, "period");
            return (Criteria) this;
        }

        public Criteria andPeriodGreaterThan(Integer value) {
            addCriterion("period >", value, "period");
            return (Criteria) this;
        }

        public Criteria andPeriodGreaterThanOrEqualTo(Integer value) {
            addCriterion("period >=", value, "period");
            return (Criteria) this;
        }

        public Criteria andPeriodLessThan(Integer value) {
            addCriterion("period <", value, "period");
            return (Criteria) this;
        }

        public Criteria andPeriodLessThanOrEqualTo(Integer value) {
            addCriterion("period <=", value, "period");
            return (Criteria) this;
        }

        public Criteria andPeriodIn(List<Integer> values) {
            addCriterion("period in", values, "period");
            return (Criteria) this;
        }

        public Criteria andPeriodNotIn(List<Integer> values) {
            addCriterion("period not in", values, "period");
            return (Criteria) this;
        }

        public Criteria andPeriodBetween(Integer value1, Integer value2) {
            addCriterion("period between", value1, value2, "period");
            return (Criteria) this;
        }

        public Criteria andPeriodNotBetween(Integer value1, Integer value2) {
            addCriterion("period not between", value1, value2, "period");
            return (Criteria) this;
        }

        public Criteria andGuidelineIsNull() {
            addCriterion("guideline is null");
            return (Criteria) this;
        }

        public Criteria andGuidelineIsNotNull() {
            addCriterion("guideline is not null");
            return (Criteria) this;
        }

        public Criteria andGuidelineEqualTo(String value) {
            addCriterion("guideline =", value, "guideline");
            return (Criteria) this;
        }

        public Criteria andGuidelineNotEqualTo(String value) {
            addCriterion("guideline <>", value, "guideline");
            return (Criteria) this;
        }

        public Criteria andGuidelineGreaterThan(String value) {
            addCriterion("guideline >", value, "guideline");
            return (Criteria) this;
        }

        public Criteria andGuidelineGreaterThanOrEqualTo(String value) {
            addCriterion("guideline >=", value, "guideline");
            return (Criteria) this;
        }

        public Criteria andGuidelineLessThan(String value) {
            addCriterion("guideline <", value, "guideline");
            return (Criteria) this;
        }

        public Criteria andGuidelineLessThanOrEqualTo(String value) {
            addCriterion("guideline <=", value, "guideline");
            return (Criteria) this;
        }

        public Criteria andGuidelineLike(String value) {
            addCriterion("guideline like", value, "guideline");
            return (Criteria) this;
        }

        public Criteria andGuidelineNotLike(String value) {
            addCriterion("guideline not like", value, "guideline");
            return (Criteria) this;
        }

        public Criteria andGuidelineIn(List<String> values) {
            addCriterion("guideline in", values, "guideline");
            return (Criteria) this;
        }

        public Criteria andGuidelineNotIn(List<String> values) {
            addCriterion("guideline not in", values, "guideline");
            return (Criteria) this;
        }

        public Criteria andGuidelineBetween(String value1, String value2) {
            addCriterion("guideline between", value1, value2, "guideline");
            return (Criteria) this;
        }

        public Criteria andGuidelineNotBetween(String value1, String value2) {
            addCriterion("guideline not between", value1, value2, "guideline");
            return (Criteria) this;
        }

        public Criteria andStandardIsNull() {
            addCriterion("standard is null");
            return (Criteria) this;
        }

        public Criteria andStandardIsNotNull() {
            addCriterion("standard is not null");
            return (Criteria) this;
        }

        public Criteria andStandardEqualTo(String value) {
            addCriterion("standard =", value, "standard");
            return (Criteria) this;
        }

        public Criteria andStandardNotEqualTo(String value) {
            addCriterion("standard <>", value, "standard");
            return (Criteria) this;
        }

        public Criteria andStandardGreaterThan(String value) {
            addCriterion("standard >", value, "standard");
            return (Criteria) this;
        }

        public Criteria andStandardGreaterThanOrEqualTo(String value) {
            addCriterion("standard >=", value, "standard");
            return (Criteria) this;
        }

        public Criteria andStandardLessThan(String value) {
            addCriterion("standard <", value, "standard");
            return (Criteria) this;
        }

        public Criteria andStandardLessThanOrEqualTo(String value) {
            addCriterion("standard <=", value, "standard");
            return (Criteria) this;
        }

        public Criteria andStandardLike(String value) {
            addCriterion("standard like", value, "standard");
            return (Criteria) this;
        }

        public Criteria andStandardNotLike(String value) {
            addCriterion("standard not like", value, "standard");
            return (Criteria) this;
        }

        public Criteria andStandardIn(List<String> values) {
            addCriterion("standard in", values, "standard");
            return (Criteria) this;
        }

        public Criteria andStandardNotIn(List<String> values) {
            addCriterion("standard not in", values, "standard");
            return (Criteria) this;
        }

        public Criteria andStandardBetween(String value1, String value2) {
            addCriterion("standard between", value1, value2, "standard");
            return (Criteria) this;
        }

        public Criteria andStandardNotBetween(String value1, String value2) {
            addCriterion("standard not between", value1, value2, "standard");
            return (Criteria) this;
        }

        public Criteria andRequirmentsIsNull() {
            addCriterion("requirments is null");
            return (Criteria) this;
        }

        public Criteria andRequirmentsIsNotNull() {
            addCriterion("requirments is not null");
            return (Criteria) this;
        }

        public Criteria andRequirmentsEqualTo(String value) {
            addCriterion("requirments =", value, "requirments");
            return (Criteria) this;
        }

        public Criteria andRequirmentsNotEqualTo(String value) {
            addCriterion("requirments <>", value, "requirments");
            return (Criteria) this;
        }

        public Criteria andRequirmentsGreaterThan(String value) {
            addCriterion("requirments >", value, "requirments");
            return (Criteria) this;
        }

        public Criteria andRequirmentsGreaterThanOrEqualTo(String value) {
            addCriterion("requirments >=", value, "requirments");
            return (Criteria) this;
        }

        public Criteria andRequirmentsLessThan(String value) {
            addCriterion("requirments <", value, "requirments");
            return (Criteria) this;
        }

        public Criteria andRequirmentsLessThanOrEqualTo(String value) {
            addCriterion("requirments <=", value, "requirments");
            return (Criteria) this;
        }

        public Criteria andRequirmentsLike(String value) {
            addCriterion("requirments like", value, "requirments");
            return (Criteria) this;
        }

        public Criteria andRequirmentsNotLike(String value) {
            addCriterion("requirments not like", value, "requirments");
            return (Criteria) this;
        }

        public Criteria andRequirmentsIn(List<String> values) {
            addCriterion("requirments in", values, "requirments");
            return (Criteria) this;
        }

        public Criteria andRequirmentsNotIn(List<String> values) {
            addCriterion("requirments not in", values, "requirments");
            return (Criteria) this;
        }

        public Criteria andRequirmentsBetween(String value1, String value2) {
            addCriterion("requirments between", value1, value2, "requirments");
            return (Criteria) this;
        }

        public Criteria andRequirmentsNotBetween(String value1, String value2) {
            addCriterion("requirments not between", value1, value2, "requirments");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIsNull() {
            addCriterion("create_time is null");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIsNotNull() {
            addCriterion("create_time is not null");
            return (Criteria) this;
        }

        public Criteria andCreateTimeEqualTo(Date value) {
            addCriterion("create_time =", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotEqualTo(Date value) {
            addCriterion("create_time <>", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeGreaterThan(Date value) {
            addCriterion("create_time >", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("create_time >=", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeLessThan(Date value) {
            addCriterion("create_time <", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeLessThanOrEqualTo(Date value) {
            addCriterion("create_time <=", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIn(List<Date> values) {
            addCriterion("create_time in", values, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotIn(List<Date> values) {
            addCriterion("create_time not in", values, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeBetween(Date value1, Date value2) {
            addCriterion("create_time between", value1, value2, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotBetween(Date value1, Date value2) {
            addCriterion("create_time not between", value1, value2, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateUserIsNull() {
            addCriterion("create_user is null");
            return (Criteria) this;
        }

        public Criteria andCreateUserIsNotNull() {
            addCriterion("create_user is not null");
            return (Criteria) this;
        }

        public Criteria andCreateUserEqualTo(String value) {
            addCriterion("create_user =", value, "createUser");
            return (Criteria) this;
        }

        public Criteria andCreateUserNotEqualTo(String value) {
            addCriterion("create_user <>", value, "createUser");
            return (Criteria) this;
        }

        public Criteria andCreateUserGreaterThan(String value) {
            addCriterion("create_user >", value, "createUser");
            return (Criteria) this;
        }

        public Criteria andCreateUserGreaterThanOrEqualTo(String value) {
            addCriterion("create_user >=", value, "createUser");
            return (Criteria) this;
        }

        public Criteria andCreateUserLessThan(String value) {
            addCriterion("create_user <", value, "createUser");
            return (Criteria) this;
        }

        public Criteria andCreateUserLessThanOrEqualTo(String value) {
            addCriterion("create_user <=", value, "createUser");
            return (Criteria) this;
        }

        public Criteria andCreateUserLike(String value) {
            addCriterion("create_user like", value, "createUser");
            return (Criteria) this;
        }

        public Criteria andCreateUserNotLike(String value) {
            addCriterion("create_user not like", value, "createUser");
            return (Criteria) this;
        }

        public Criteria andCreateUserIn(List<String> values) {
            addCriterion("create_user in", values, "createUser");
            return (Criteria) this;
        }

        public Criteria andCreateUserNotIn(List<String> values) {
            addCriterion("create_user not in", values, "createUser");
            return (Criteria) this;
        }

        public Criteria andCreateUserBetween(String value1, String value2) {
            addCriterion("create_user between", value1, value2, "createUser");
            return (Criteria) this;
        }

        public Criteria andCreateUserNotBetween(String value1, String value2) {
            addCriterion("create_user not between", value1, value2, "createUser");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeIsNull() {
            addCriterion("update_time is null");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeIsNotNull() {
            addCriterion("update_time is not null");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeEqualTo(Date value) {
            addCriterion("update_time =", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeNotEqualTo(Date value) {
            addCriterion("update_time <>", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeGreaterThan(Date value) {
            addCriterion("update_time >", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("update_time >=", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeLessThan(Date value) {
            addCriterion("update_time <", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeLessThanOrEqualTo(Date value) {
            addCriterion("update_time <=", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeIn(List<Date> values) {
            addCriterion("update_time in", values, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeNotIn(List<Date> values) {
            addCriterion("update_time not in", values, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeBetween(Date value1, Date value2) {
            addCriterion("update_time between", value1, value2, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeNotBetween(Date value1, Date value2) {
            addCriterion("update_time not between", value1, value2, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateUserIsNull() {
            addCriterion("update_user is null");
            return (Criteria) this;
        }

        public Criteria andUpdateUserIsNotNull() {
            addCriterion("update_user is not null");
            return (Criteria) this;
        }

        public Criteria andUpdateUserEqualTo(String value) {
            addCriterion("update_user =", value, "updateUser");
            return (Criteria) this;
        }

        public Criteria andUpdateUserNotEqualTo(String value) {
            addCriterion("update_user <>", value, "updateUser");
            return (Criteria) this;
        }

        public Criteria andUpdateUserGreaterThan(String value) {
            addCriterion("update_user >", value, "updateUser");
            return (Criteria) this;
        }

        public Criteria andUpdateUserGreaterThanOrEqualTo(String value) {
            addCriterion("update_user >=", value, "updateUser");
            return (Criteria) this;
        }

        public Criteria andUpdateUserLessThan(String value) {
            addCriterion("update_user <", value, "updateUser");
            return (Criteria) this;
        }

        public Criteria andUpdateUserLessThanOrEqualTo(String value) {
            addCriterion("update_user <=", value, "updateUser");
            return (Criteria) this;
        }

        public Criteria andUpdateUserLike(String value) {
            addCriterion("update_user like", value, "updateUser");
            return (Criteria) this;
        }

        public Criteria andUpdateUserNotLike(String value) {
            addCriterion("update_user not like", value, "updateUser");
            return (Criteria) this;
        }

        public Criteria andUpdateUserIn(List<String> values) {
            addCriterion("update_user in", values, "updateUser");
            return (Criteria) this;
        }

        public Criteria andUpdateUserNotIn(List<String> values) {
            addCriterion("update_user not in", values, "updateUser");
            return (Criteria) this;
        }

        public Criteria andUpdateUserBetween(String value1, String value2) {
            addCriterion("update_user between", value1, value2, "updateUser");
            return (Criteria) this;
        }

        public Criteria andUpdateUserNotBetween(String value1, String value2) {
            addCriterion("update_user not between", value1, value2, "updateUser");
            return (Criteria) this;
        }

        public Criteria andIsmandatoryIsNull() {
            addCriterion("ismandatory is null");
            return (Criteria) this;
        }

        public Criteria andIsmandatoryIsNotNull() {
            addCriterion("ismandatory is not null");
            return (Criteria) this;
        }

        public Criteria andIsmandatoryEqualTo(Integer value) {
            addCriterion("ismandatory =", value, "ismandatory");
            return (Criteria) this;
        }

        public Criteria andIsmandatoryNotEqualTo(Integer value) {
            addCriterion("ismandatory <>", value, "ismandatory");
            return (Criteria) this;
        }

        public Criteria andIsmandatoryGreaterThan(Integer value) {
            addCriterion("ismandatory >", value, "ismandatory");
            return (Criteria) this;
        }

        public Criteria andIsmandatoryGreaterThanOrEqualTo(Integer value) {
            addCriterion("ismandatory >=", value, "ismandatory");
            return (Criteria) this;
        }

        public Criteria andIsmandatoryLessThan(Integer value) {
            addCriterion("ismandatory <", value, "ismandatory");
            return (Criteria) this;
        }

        public Criteria andIsmandatoryLessThanOrEqualTo(Integer value) {
            addCriterion("ismandatory <=", value, "ismandatory");
            return (Criteria) this;
        }

        public Criteria andIsmandatoryIn(List<Integer> values) {
            addCriterion("ismandatory in", values, "ismandatory");
            return (Criteria) this;
        }

        public Criteria andIsmandatoryNotIn(List<Integer> values) {
            addCriterion("ismandatory not in", values, "ismandatory");
            return (Criteria) this;
        }

        public Criteria andIsmandatoryBetween(Integer value1, Integer value2) {
            addCriterion("ismandatory between", value1, value2, "ismandatory");
            return (Criteria) this;
        }

        public Criteria andIsmandatoryNotBetween(Integer value1, Integer value2) {
            addCriterion("ismandatory not between", value1, value2, "ismandatory");
            return (Criteria) this;
        }

        public Criteria andDeleteStatusIsNull() {
            addCriterion("delete_status is null");
            return (Criteria) this;
        }

        public Criteria andDeleteStatusIsNotNull() {
            addCriterion("delete_status is not null");
            return (Criteria) this;
        }

        public Criteria andDeleteStatusEqualTo(Integer value) {
            addCriterion("delete_status =", value, "deleteStatus");
            return (Criteria) this;
        }

        public Criteria andDeleteStatusNotEqualTo(Integer value) {
            addCriterion("delete_status <>", value, "deleteStatus");
            return (Criteria) this;
        }

        public Criteria andDeleteStatusGreaterThan(Integer value) {
            addCriterion("delete_status >", value, "deleteStatus");
            return (Criteria) this;
        }

        public Criteria andDeleteStatusGreaterThanOrEqualTo(Integer value) {
            addCriterion("delete_status >=", value, "deleteStatus");
            return (Criteria) this;
        }

        public Criteria andDeleteStatusLessThan(Integer value) {
            addCriterion("delete_status <", value, "deleteStatus");
            return (Criteria) this;
        }

        public Criteria andDeleteStatusLessThanOrEqualTo(Integer value) {
            addCriterion("delete_status <=", value, "deleteStatus");
            return (Criteria) this;
        }

        public Criteria andDeleteStatusIn(List<Integer> values) {
            addCriterion("delete_status in", values, "deleteStatus");
            return (Criteria) this;
        }

        public Criteria andDeleteStatusNotIn(List<Integer> values) {
            addCriterion("delete_status not in", values, "deleteStatus");
            return (Criteria) this;
        }

        public Criteria andDeleteStatusBetween(Integer value1, Integer value2) {
            addCriterion("delete_status between", value1, value2, "deleteStatus");
            return (Criteria) this;
        }

        public Criteria andDeleteStatusNotBetween(Integer value1, Integer value2) {
            addCriterion("delete_status not between", value1, value2, "deleteStatus");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}